export const BorrowReasonMap = new Map([
  ['CHECK', '检测'],
  ['APPRAISAL', '鉴定'],
  ['RECOGNIZE', '辨认'],
  ['EVALUATION', '估价'],
  ['TEST', '检验'],
  ['PROPAGATE', '宣传'],
  ['OTHER', '其他']
])

export const BorrowStatus = new Map([
  [-255, '撤销申请'],
  [1, '待审批'],
  [10, '审批不通过'],
  [11, '审批通过'],
  [20, '确定借用'],
  [30, '部分归还'],
  [40, '已归还']
])

export const BackStatus = new Map([
  [20, '确定领取'],
  [30, '部分归还'],
  [40, '已归还']
])

export const ReceiveReason = new Map([
  ['GIVE_BACK', '发还'],
  ['TRANSFER_WITH_CASE', '随案移交']
])

export const WhereaboutsItemsMap = new Map([
  ['GIVE_BACK', '发还当事人'],
  ['TRANSFER_PROCURATORATE', '随案移交检察院'],
  ['TRANSFER_LAW_DEP', '随案移交其他行政执法部门'],
  ['TRANSFER_CASE_DEP', '随案移送其他办案部门'],
  ['TRANSFER_OTHER_PROVINCE', '随案移交外省市公安机关'],
  ['OTHER', '其他']
])

export const AttachmentClassificationMap = new Map([
  ['EXPLANATION', '情况说明'],
  ['RECEIVE_VOUCHER', '其他单位接收凭证'],
  ['LEGAL_DOC', '法律文书'],
  ['OTHER', '其他'],
  ['ITEM_PIC', '物品照片'],
  ['RELATED_DOC', '相关材料']
])

export const HandleItemsMap = new Map([
  ['GIVE_BACK', '发还当事人'],
  ['DESTROY', '销毁'],
  ['TURN', '上缴国库'],
  ['VACANT_ITEM', '作为无主财物处理'],
  ['ATTACH_DOC','附案卷材料'],
  ['TRANSFER_POLICE_DEP', '送交警保部门'],
  ['TRANSFER_LAW_DEP', '因法定情形移交其他行政执法部门'],
  ['OTHER', '其他']
])

export const TaskItemMap = new Map([
  ['TAKE_DRUG', '收缴'],
  ['RECOVERED', '追缴'],
  ['CONFISCATED', '没收'],
  ['VACANT_ITEM', '作为无主财物处理']
])

export const itemSource = new Map([
  ['ACCEPT', '接受'],
  ['REGISTER', '登记'],
  ['SEQUESTERED', '扣押'],
  ['OBTAIN', '调取'],
  ['FREEZE', '冻结'],
  ['SEIZED', '查封'],
  ['OTHER_FIXED', '其他提取或固定'],
  ['PRESERVE', '证据保全'],
  ['FORCE_MEASURES', '公安交通行政强制管理措施'],
  ['GIVE_BACK', '发还'],
  ['TRANSFER_WITH_CASE', '随案移交'],
  ['UN_FREEZE', '解除冻结'],
  ['KEEP_STORAGE', '继续保管'],
  ['TAKE_DRUG', '收缴'],
  ['RECOVERED', '追缴'],
  ['CONFISCATED', '没收']
])

export const currencyType = new Map([
  ['人民币', '人民币'],
  ['美元', '美元'],
  ['英镑', '英镑'],
  ['日元', '日元'],
  ['欧元', '欧元'],
  ['港币', '港币'],
  ['澳门元', '澳门元'],
  ['澳元', '澳元'],
  ['加元', '加元'],
  ['越南盾', '越南盾'],
  ['泰铢', '泰铢'],
  ['其他货币', '其他货币']
])

export const AcqueryWayMap = new Map([
  ['ACCEPT', '接受'],
  ['REGISTER', '登记保存'],
  ['SEQUESTERED', '扣押'],
  ['DETENTION', '扣留'],
  ['FREEZE', '冻结'],
  ['SEIZED', '查封'],
  ['OBTAIN', '调取'],
  ['REGISTER_SAVE', '先行登记保存']
])

export const CustodyState = new Map([
  ['1', '未保管'],
  ['100', '专管员待接受'],
  ['110', '专管员接受'],
  ['120', '专管员保管'],
  ['210', '保管员待接受'],
  ['220', '保管员已保管'],
  ['160', '专管员已领取'],
  ['260', '保管员已领取'],
  ['310', '专管员已处理-待保管员确定处理'],
  ['320', '保管员-已确定处理'],
  ['600', '待确认告知'],
  ['620', '专管员确认告知'],
  ['700', '待确认告知'],
  ['710', '专管员确认告知'],
  ['720', '保管员确认告知']
])

export const CustodyStateMap = new Map([
  ['120', '专管员保管'],
  ['220', '保管员已保管']
])

export enum SAVETYPE {
  'create',
  'update'
}

export enum MODALTYPE {
  'view',
  'edit',
  'create'
}

export const OptMap = new Map([
  [1, '告知'],
  [2, '撤销告知'],
  [3, '确认告知'],
  [4, '（保管员）确认告知'],
  [5, '移交'],
  [6, '退回'],
  [7, '接收'],
  [8, '自行保管'],
  [9, '集中保管'],
  [10, '接收（集中保管）'],
  [11, '退回（集中保管）'],
  [12, '借用'],
  [13, '借用审批'],
  [14, '借用审批'],
  [15, '确认借用'],
  [16, '借用归还'],
  [17, '领取'],
  [18, '领取'],
  [19, '处理'],
  [20, '确认处理'],
  [21, '撤销借用'],
  [22, '作废凭证'],
  [23, '作废凭证'],
  [24, '作废凭证'],
  [25, '作废凭证'],
  [26, '作废凭证'],
  [27, '作废凭证'],
  [28, '作废凭证'],
  [29, '作废凭证'],
  [30, '作废凭证'],
  [31, '作废凭证'],
  [32, '作废凭证'],
  [33, '作废凭证'],
  [34, '作废凭证'],
  [35, '作废凭证'],
  [36, '作废凭证'],
  [37, '作废凭证'],
  [38, '作废凭证']
])
